﻿using IService;
using Model;

namespace Service
{
    /// <summary>
    /// 
    /// </summary>
    public class HostService : IHostSerice
    {
        public string GetName(string val)
        {
            if (val.Length < 10)
                val = "长度太小了";

            return val;
        }

        public UserDto GetUser(string Name)
        {
            throw new NotImplementedException();
        }

        public List<UserDto> UserAdd(UserDto user)
        {
            throw new NotImplementedException();
        }
    }
}